package com.way.cloud.common.core.enums;

import lombok.Getter;

@Getter
public enum ResultEnum {
    // 2xx
    SUCCESS("200", "操作成功"),

    // 3xx

    // 4xx

    // 5xx
    FAIL("500", "操作失败");

    private final String code;
    private final String description;

    ResultEnum(String code, String description) {
        this.code = code;
        this.description = description;
    }

}
